package net.hn.hnms.biz.api.safety.water.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 智呈物联 pan'sx
 * 2022/7/28 16:37
 * 1.0 version
 */
@ApiModel("水泵状态统计信息")
@Data
public class PumpStatusVo {
    @ApiModelProperty("水仓")
    private List<Tank> tanks;

    @ApiModelProperty("水泵房")
    private List<PumpRoom> pumpRooms;

    @Data
    class Tank{
        private String name;
        @ApiModelProperty("水位 单位：m")
        private BigDecimal level;
    }
    @Data
    class PumpRoom{
        private String name;

        private int stop;

        private int run;
    }
}
